package com.szh.cloud.common.entity;

import lombok.Data;

@Data
public class ResEntity {
    private boolean success;
    private Object code;
    private String message;

    public ResEntity(boolean success, Object code) {
        this.success = success;
        this.code = code;
    }

    public ResEntity(boolean success, String message) {
        this.success = success;
        this.message = message;
    }
} 